package com.achievement.mapper;

import com.achievement.domain.entity.CopyRightEntity;
import com.achievement.domain.param.CopyRightParam;
import com.achievement.domain.vo.CopyRightVO;
import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import org.apache.ibatis.annotations.Param;

import java.util.HashMap;
import java.util.List;


public interface CopyRightMapper extends BaseMapper<CopyRightEntity> {
    List<CopyRightVO> selectByPage(@Param(value = "param") CopyRightParam param, @Param(Constants.WRAPPER) Wrapper<CopyRightEntity> queryWrapper);

    List<CopyRightVO> selectByParam(@Param(value = "param") CopyRightParam param, @Param(Constants.WRAPPER) Wrapper<CopyRightEntity> queryWrapper);

    List<HashMap<String, Integer>> listStatistics(@Param(value = "param")CopyRightParam param,@Param(Constants.WRAPPER) LambdaQueryWrapper<CopyRightEntity> queryWrapper);
}
